import request from "../../../utils/request/request";

// /*
//     *fzy
//     *根据区域id查询服务列表(分页)
//     */
export function findAll(data){
  return request({
    url: 'http://localhost:9999/instOrder-orderService/ordersServe/findPage',
    method: 'get',
    params: data,
  })
}
export function findServeName(){
  return request({
    url: 'http://localhost:9999/instOrder-orderService/ordersServe/findServeName',
    method: 'get',
  })
}
export function institutionStaffList(){
  return request({
    url: 'http://localhost:9999/inst-staffService/InstitutionStaff/findAll',
    method: 'get',
  })
}
export function updateRen(data){
  return request({
    url: 'http://localhost:9999/instOrder-orderService/ordersServe/updateRen',
    method: 'get',
    params: data,
  })
}
export function exitOrders(data){
  return request({
    url: 'http://localhost:9999/instOrder-orderService/ordersServe/exitOrder',
    method: 'get',
    params: {
      id: data,
    },
  })
}
export function delOrder(data){
  return request({
    url: 'http://localhost:9999/instOrder-orderService/ordersServe/delOrder',
    method: 'get',
    params: {
      id: data,
    },
  })
}
export function startServe(data){
  return request({
    url: 'http://localhost:9999/instOrder-orderService/ordersServe/startServe',
    method: 'get',
    params: data,
  })
}
export function getOneById(data){
  return request({
    url: 'http://localhost:9999/instOrder-orderService/ordersServe/getOneById',
    method: 'get',
    params: {
      id: data,
    },
  })
}


